package top.infopub.mgr.hyp.service;


import top.infopub.generic.GenericService;
import top.infopub.mgr.hyp.domain.HyOperatorDomain;
import top.infopub.mgr.hyp.vo.HyOperatorVo;
import top.infopub.model.hy.BaseInfo;

import com.github.pagehelper.Page;


public interface HyOperatorService extends GenericService<BaseInfo, String> {

    /** codegen **/

    /**
     * 给用户分配角色
     * @param checkRoleId
     * @param operatorId
     */
    public void saveOperatorRole(String checkRoleId, String operatorId);

    /**
     * 分页查询
     * @param page
     * @return
     */
    Page<HyOperatorDomain> selectPageByDomainWhere(Page<HyOperatorDomain> page,
                                                   HyOperatorVo operatorVo);

}